package com.hxd.otc.module.my.contract;

import com.hxd.otc.mvp.base.IBasePresenter;
import com.hxd.otc.mvp.base.IBaseView;

/**
 * 作  者 :  胡庆岭
 * 时  间 :  2018/6/6 10:16
 * 描  述 :  ${忘记密码Contract}
 */
public interface ForgetPasswordContract {
    interface View extends IBaseView {
        void getVerCodeSuccess(String msg);
        void modificationSucceed();

        void getEmailVerCodeSuccess();


        void checkNewPhoneSuccess(String account, int registerMode);

        void checkNewPhoneFail(String errMessage);

    }

    interface Presenter extends IBasePresenter {
        void getPhoneVerCode(String nationalCode, String phone, String sessionId,String countryId);

        void forgetPasswordOfPhone(String account, String nationalCode, String password, String verCode,String countryId);

        void getEmailVerCode(String email, String sessionId);

        void findUser(String account, int registerMode);
    }
}
